/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.model.bean;

import com.entites.Employee;
import com.entites.EventLibrary;
import com.entites.NotificationType;
import com.entites.Notifications;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Chung
 */
@Local
public interface NotificationTypeFacadeLocal {

    void create(NotificationType notificationType);

    void edit(NotificationType notificationType);

    void remove(NotificationType notificationType);

    NotificationType find(Object id);

    List<NotificationType> findAll();

    List<NotificationType> findRange(int[] range);

    int count();
    
    List<Notifications> getNotifications(int notificationId ,String username);
    
    void checkNotification();
    
    void checkNotification1();
    
    int addBirthdaywishes(Notifications notifications);
    
     int addEventinvitations(Notifications notifications);
     
     int changeStatus(int Id);
    
     void sendInvitedAttendEvent(String usernameMe,String usernameFe,String message,int eventId);
}
